package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Comment;

public interface CommentService extends IService<Comment> {

    public IPage<Comment> queryGoodsByGid(Long id, int offset, int limit) ;
    public IPage<Comment> query(Byte type, Integer valueId, Integer showType, Integer offset, Integer limit) ;
    public int count(Byte type, Integer valueId, Integer showType) ;
    public IPage<Comment> querySelective(String userId, String valueId, Integer page, Integer size) ;
}
